package com.example.mall.dao;

import com.example.mall.entity.User;
import com.example.mall.entity.UserAddress;

import java.util.List;

public interface UserAddressDAO {
    List<UserAddress> selectAll();
    List<UserAddress> selectOneByUserId(Integer userId);
    List<UserAddress> query(Integer page, Integer pageSize, UserAddress address);
    void save(UserAddress address);
    void delete();
    void update(UserAddress address);
}
